﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PasswordSet.aspx.cs" Inherits="SysManage_PasswordSet" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>密码设置</title>
    <link href="../css/css.CSS" type="text/css" rel="stylesheet" /> 
</head>
<body  style =" background-image :url('../images/hit_bg.gif');">
    <form id="form1" runat="server">
<table style ="width :100%;"  border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
   <td valign ="middle"  style ="height :25;" >&nbsp;&nbsp;<img id="imgIndicator" src ="../images/Indicator.jpg" style ="width :21; height :16;" alt ="当前位置" />当前位置：修改密码</td>
   </tr> 
  <tr style ="height :1; background-color :#dddddd;">
    <td></td>
 </tr> 
</table> <br /><br />
  <table cellpadding ="1" cellspacing ="0" border ="1" align ="center" style="border-color :Red; border-collapse:collapse ; background-color :#DDEDFD;"  width="450" >
      <tr height="30">
		<td align="right" bgColor="#f3f3f3" style="width: 100px">原密码：</td>
		<td bgColor="#f3f3f3"><asp:textbox id="OldPassword" tabIndex="1" runat="server" TextMode="Password"></asp:textbox><font color="red">*</font></td>
	</tr>
	<tr height="30">
		<td align="right" bgColor="#f3f3f3">新密码：</td>
		<td bgColor="#f3f3f3"><asp:textbox id="NewPassword" tabIndex="2" runat="server" TextMode="Password" MaxLength="32"></asp:textbox><font color="red">*</font>	
			<asp:regularexpressionvalidator id="Regularexpressionvalidator4" runat="server" ErrorMessage="请输入6位以上的数字、字母的组合！"
				Display="Dynamic" ControlToValidate="NewPassword" ValidationExpression="[0-9,a-z]{6,}"></asp:regularexpressionvalidator>								
		</td>
	</tr>
	<tr height="30">
		<td align="right" bgColor="#f3f3f3">确认新密码：</td>
		<td bgColor="#f3f3f3"><asp:TextBox id="ReNewPassword" tabIndex="3" runat="server" MaxLength="32" TextMode="Password"></asp:TextBox><font color="red">*</font>	
			<asp:CompareValidator id="Comparevalidator2" runat="server" ControlToValidate="NewPassword" Display="Dynamic"
				ErrorMessage="两次输入的密码要一致！" ControlToCompare="ReNewPassword" Type="String" Operator="Equal"></asp:CompareValidator>								
		</td>
	</tr>
	<tr>
		<td bgColor="#f3f3f3">&nbsp;</td>
		<td vAlign="middle" bgColor="#f3f3f3"><asp:Button ID="SetPsd" runat ="server" CssClass ="button03" Text="修改" OnClick="SetPsd_Click" /></td>
	</tr>
    </table>
    </form>
</body>
</html>
